![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
gulp-plugin-extras
Advanced tools
Useful utilities for creating Gulp plugins
npm install gulp-plugin-extras
import {gulpPlugin} from 'gulp-plugin-extras';
export default function gulpFoo() {
return gulpPlugin('gulp-foo', async file => {
file.contents = await someKindOfTransformation(file.contents);
return file;
});
}
gulpPlugin(name, onFile, options?)
Create a Gulp plugin.
If you throw an error with a .isPresentable = true
property, it will not display the error stack.
This does not support streaming unless you enable the supportsAnyType
option.
Type: string
The plugin name.
Type: async (file) => file
The async function called for each Vinyl file in the stream. Must return a modified or new Vinyl file.
Type: object
Type: boolean
Default: false
Whether the plugin can handle directories.
Type: boolean
Default: false
Whether the plugin can handle any Vinyl file type.
Useful for custom type filtering.
Supersedes supportsDirectories
.
Type: async function * (stream: NodeJS.ReadableStream): void
An async generator function executed for finalization after all files have been processed.
You can yield more files from it if needed.
import {gulpPlugin} from 'gulp-plugin-extras';
export default function gulpFoo() {
return gulpPlugin(
'gulp-foo',
async file => { … },
{
async * onFinish() {
yield someVinylFile;
yield someVinylFile2;
}
}
);
}
FAQs
Useful utilities for creating Gulp plugins
The npm package gulp-plugin-extras receives a total of 62,080 weekly downloads. As such, gulp-plugin-extras popularity was classified as popular.
We found that gulp-plugin-extras demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.